<%--
  -	$Version: 0.1 $
  -	$Date: 2008-09-09 16:48:22 $
--%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@page import="org.jawa.Constants,org.jawa.util.ParamUtils,org.jawa.ApplicationState"%>

<html>
<head>
<title><fmt:message key="setup.datasource.settings.title" /></title>
<meta name="currentStep" content="6"/>
<%
    // Get parameters


    boolean doContinue = request.getParameter("continue") != null;

    // handle a mode redirect
    if (doContinue) {
    	Constants.setApplicationState(ApplicationState.RUNNING);
    	Constants.setApplicationStateRestart();
    	response.sendRedirect("/");
    }

%>
</head>
<body>
	<h1>
       <fmt:message key="setup.finish.title" />
	</h1>
	<p>
	    <fmt:message key="setup.finish.info"/>
	</p>
	<div class="jawa-contentBox">
		<form name="f" action="setup-finish.jsp" method="post">
			<input type="hidden" name="save" value="true">
			<div id="logintext" class="jawa_setup_launchAdmin">
                <input type="submit" name="continue" value="<fmt:message key="button.finished" />" id="jawa-setup-save" border="0">
			</div>
			<br />
		</form>
	</div>
</body>
</html>
